package com.i2works.smartluolong.utils.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;



public class FooddrugStatusUtil {
	public static Map<Integer, String> getFooddrugApplyMap(){
		Map<Integer, String> map=new HashMap<Integer, String>();
		FooddrugStatusEnum[] fooddrugStatusEnum=FooddrugStatusEnum.values();
		for (FooddrugStatusEnum fooddrugStatus : fooddrugStatusEnum) {
			map.put(fooddrugStatus.getKey(), fooddrugStatus.getText());
		}
		return map;
	}
	
	public static Map<Integer, String> getFooddrugApplyMap(List<Integer> applyStatusSet){
		Map<Integer, String> map=new HashMap<Integer, String>();
		Map<Integer, String> applyStatusMap=getFooddrugApplyMap();
		for (Integer status : applyStatusSet) {
			map.put(status, applyStatusMap.get(status));
		}
		return map;
	}

}
